Optimal. Leaf size=57 \[ \frac {\sqrt {\pi } e^{-a} \text {erf}\left (\frac {\sqrt {b}}{x}\right )}{4 \sqrt {b}}-\frac {\sqrt {\pi } e^a \text {erfi}\left (\frac {\sqrt {b}}{x}\right )}{4 \sqrt {b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5346, 5298, 2204, 2205} \[ \frac {\sqrt {\pi } e^{-a} \text {Erf}\left (\frac {\sqrt {b}}{x}\right )}{4 \sqrt {b}}-\frac {\sqrt {\pi } e^a \text {Erfi}\left (\frac {\sqrt {b}}{x}\right )}{4 \sqrt {b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2204
Rule 2205
Rule 5298
Rule 5346
Rubi steps
\begin {align*} \int \frac {\sinh \left (a+\frac {b}{x^2}\right )}{x^2} \, dx &=-\operatorname {Subst}\left (\int \sinh \left (a+b x^2\right ) \, dx,x,\frac {1}{x}\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int e^{-a-b x^2} \, dx,x,\frac {1}{x}\right )-\frac {1}{2} \operatorname {Subst}\left (\int e^{a+b x^2} \, dx,x,\frac {1}{x}\right )\\ &=\frac {e^{-a} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {b}}{x}\right )}{4 \sqrt {b}}-\frac {e^a \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {b}}{x}\right )}{4 \sqrt {b}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 50, normalized size = 0.88 \[ \frac {\sqrt {\pi } \left ((\cosh (a)-\sinh (a)) \text {erf}\left (\frac {\sqrt {b}}{x}\right )-(\sinh (a)+\cosh (a)) \text {erfi}\left (\frac {\sqrt {b}}{x}\right )\right )}{4 \sqrt {b}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.54, size = 52, normalized size = 0.91 \[ \frac {\sqrt {\pi } \sqrt {-b} {\left (\cosh \relax (a) + \sinh \relax (a)\right )} \operatorname {erf}\left (\frac {\sqrt {-b}}{x}\right ) + \sqrt {\pi } \sqrt {b} {\left (\cosh \relax (a) - \sinh \relax (a)\right )} \operatorname {erf}\left (\frac {\sqrt {b}}{x}\right )}{4 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sinh \left (a + \frac {b}{x^{2}}\right )}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 44, normalized size = 0.77 \[ \frac {\erf \left (\frac {\sqrt {b}}{x}\right ) \sqrt {\pi }\, {\mathrm e}^{-a}}{4 \sqrt {b}}-\frac {{\mathrm e}^{a} \sqrt {\pi }\, \erf \left (\frac {\sqrt {-b}}{x}\right )}{4 \sqrt {-b}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.46, size = 62, normalized size = 1.09 \[ -\frac {1}{2} \, b {\left (\frac {e^{\left (-a\right )} \Gamma \left (\frac {3}{2}, \frac {b}{x^{2}}\right )}{x^{3} \left (\frac {b}{x^{2}}\right )^{\frac {3}{2}}} + \frac {e^{a} \Gamma \left (\frac {3}{2}, -\frac {b}{x^{2}}\right )}{x^{3} \left (-\frac {b}{x^{2}}\right )^{\frac {3}{2}}}\right )} - \frac {\sinh \left (a + \frac {b}{x^{2}}\right )}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {\mathrm {sinh}\left (a+\frac {b}{x^2}\right )}{x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sinh {\left (a + \frac {b}{x^{2}} \right )}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________